import easyocr
import cv2


if __name__ == '__main__':
    # 不能识别
    img_path = "/Users/hubert/Downloads/pic/douban_captcha.jpeg"
    # 可以识别
    img_path2 = "/Users/hubert/Downloads/pic/test1.png"
    reader = easyocr.Reader(['ch_sim','en'], True)
    result = reader.readtext(img_path2)

    for res in result:
        print(res)